package cn.com.chengmandian.bike.model.vo;

import cn.com.chengmandian.bike.model.EbMemberWallet;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("登陆用户信息Vo")
public class LoginUserVo {

    @ApiModelProperty("会员昵称")
    private String nickname;

    @ApiModelProperty("会员编号")
    private String memberNo;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("真实姓名")
    private String name;

    @ApiModelProperty("身份证号")
    private String idCard;

    @ApiModelProperty("是否人脸认证")
    private Integer isFace;

    @ApiModelProperty("是否需要人脸认证")
    private Boolean isNeedFace;

    @ApiModelProperty("头像")
    private String headImgUrl;

    @ApiModelProperty("微信用户唯一标识")
    private String openId;

    @ApiModelProperty("需要提交用户信息")
    private boolean needUserInfo = false;

    @ApiModelProperty("需要认证")
    private boolean needAuth = false;

    @ApiModelProperty("用户钱包信息")
    private EbMemberWallet memberWallet;

    @ApiModelProperty("是否缴纳押金0-未缴纳 1-已缴纳")
    private Integer isDeposit;

    @ApiModelProperty("已缴纳押金金额")
    private BigDecimal depositMoney;

    @ApiModelProperty("已同意用户协议版本")
    private Integer agreementVersion;

    @ApiModelProperty("是否同意最新用户协议版本: 0.否 1.是")
    private Integer isAgree;

    @ApiModelProperty("免押卡过期时间，存在则表示有未过期的免押卡")
    private Date depositCardExpireTime;
}
